import React from 'react';
import {
  Router
} from 'react-native-router-flux';
import {
  connect,
  Provider
} from 'react-redux';

import configureStore from './app/store/configureStore'

import scenes from './app/containers/scenes'


console.disableYellowBox = true;

const RouterWithRedux = connect()(Router);

const store = configureStore();

const App = () => (
  <Provider store={store}>
    <RouterWithRedux scenes={scenes} backAndroidHandler={()=>{
      console.log(11)
    }}/>
  </Provider>
);

export default App;